<!--<meta http-equiv="refresh" content="1"/>-->
<link href="__PUBLIC__/Admin/css/same.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="__PUBLIC__/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/bootstrap.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/layer/layer.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
<script src="__PUBLIC__/Admin/js/Forum.js" type="text/javascript"></script>
<div class="a-main-left-content">
    <div class="a_con_title">
        <h4>论坛管理</h4>
    </div>
    <div class="a_title_tip">
        <img class="a_record_icon" src="/Public/img/record_01.jpg"/>
        <span class="a_record_news">请您合理管理论坛。</span>
    </div>

    <div class="enter_box">
        <div class="show_sousuo forum_mm_box">
            <form action="{:U('Admin/BookManage/forumManage')}" method="post">
                <span>标题：</span>
                <select name="feel_title">
                    <option value="">请选择</option>
                    <option value="1">书籍</option>
                    <option value="2">文章</option>
                    <option value="3">段落</option>
                </select>
                <span>状态：</span>
                <select name="feel_del">
                    <option value="">请选择</option>
                    <option value="1">正常</option>
                    <option value="2">禁用</option>
                </select>
                <div class="read_submit" id="show_left">
                    <img src="__PUBLIC__/Admin/img/record_02.jpg" alt="搜索">
                    <input type="submit" value="查询" >
                </div>
            </form>
        </div>
        <div class="book_show_box">
            <div class="book_show_span">
                <!--<span>书籍信息<c id="c_color">（点击图书名称查看详情）</c></span>-->
                <span>论坛管理</c></span>
            </div>
            <div class="height_con">
                <table class="system_table">
                    <tr>
                        <th class="x1">标题</th>
                        <th class="x2">文字摘要</th>
                        <th class="x1">时间</th>
                        <th class="x1">状态</th>
                        <th class="x1">操作</th>
                    </tr>
                    <volist name="_getForumInfo" id="vo">
                        <if condition="$vo['feel_del'] eq 1">
                            <tr>
                                <td class="x1">
                                    <if condition="$vo['feel_title'] eq 1">
                                        书籍
                                    </if>
                                    <if condition="$vo['feel_title'] eq 2">
                                        文章
                                    </if>
                                    <if condition="$vo['feel_title'] eq 3">
                                        段落
                                    </if>
                                </td>
                                <td  class="x2">
                                    <if condition="$vo['feel_title'] eq 1">
                                        《 {$vo['book_name']}》
                                    </if>
                                    <if condition="$vo['feel_title'] eq 2">
                                        {$vo['article_name']}
                                    </if>
                                    <if condition="$vo['feel_title'] eq 3">
                                        {$vo['feel_intor']}
                                    </if>
                                </td>
                                <td class="x1">{$vo['feel_time']|date='Y-m-d',###}</td>
                                <td class="x1" style="color: #398439">正常</td>
                                <td class="x1">
                                    <a href="{:U('Admin/BookManage/forumInfo',array('feel_id'=>$vo['feel_id']))}">详情</a>
                                    <button type="button"  class="wyz_dd1 ss del" data-del-id="{$vo['feel_id']}">禁用</button>
                                    <input type="hidden" value="{:U('Admin/BookManage/forumDel')}" id="del-url">
                                </td>
                            </tr>
                            <else/>
                            <tr>
                                <td class="x1">
                                    <if condition="$vo['feel_title'] eq 1">
                                        书籍
                                    </if>
                                    <if condition="$vo['feel_title'] eq 2">
                                        文章
                                    </if>
                                    <if condition="$vo['feel_title'] eq 3">
                                        段落
                                    </if>
                                </td>
                                <td  class="x2">
                                    <if condition="$vo['feel_title'] eq 1">
                                        《 {$vo['book_name']}》
                                    </if>
                                    <if condition="$vo['feel_title'] eq 2">
                                        {$vo['article_name']}
                                    </if>
                                    <if condition="$vo['feel_title'] eq 3">
                                        {$vo['feel_intor']}
                                    </if>
                                </td>
                                <td class="x1">{$vo['feel_time']|date='Y-m-d',###}</td>
                                <td class="x1" style="color: red">禁用</td>
                                <td class="x1">
                                    <a href="{:U('Admin/BookManage/forumInfo',array('feel_id'=>$vo['feel_id']))}">详情</a>
                                    <button type="button" class="wyz_bb ss rec" data-rec-id="{$vo['feel_id']}">恢复</button>
                                    <input type="hidden" value="{:U('Admin/BookManage/forumRec')}" id="rec-url">
                                </td>
                            </tr>
                        </if>
                    </volist>
                </table>
            </div>
        </div>
    </div>
</div>